Imagely\NGG\Util\Router D

Total Complexity 138
Dependencies 5
Dependents 35
Total lines 646
Lines of code 406
Logical lines of code 239
Comment lines 137
Methods 41
Properties 9

Methods 41

Method Rating Maintainability Complexity Lines of code
get_computed_base_url()
A
42 14 51
esc_url()
A
47 10 31
_flatten_array()
A
50 9 32
get_url()
A
49 7 31
strip_param_segments()
S
53 7 21
construct_url_from_parts()
S
56 7 17
is_https()
S
65 8 8
fix_page_parameter()
S
61 7 11
get_request_uri()
S
54 6 20
restore_request_uri()
S
58 5 16
remove_url_segment()
S
57 5 15
join_querystrings()
S
58 4 15
__construct()
S
65 4 8
assoc_array_to_querystring()
S
64 4 9
_add_index_dot_php_to_url()
S
64 4 9
register_hooks()
S
64 3 10
serve_request()
S
66 3 9
get_querystring()
S
78 2 3
get_base_url()
S
71 2 6
join_paths()
S
66 2 8
get_instance()
S
70 2 6
get_default_app()
S
72 2 6
get_routed_app()
S
79 2 3
get_routed_url()
S
69 2 7
param()
S
79 1 3
_get_cache_key()
S
79 1 3
set_routed_app()
S
81 1 3
passthru()
S
82 1 3
has_parameter_segments()
S
81 1 3
get_cached_base_url()
S
80 1 3
has_cached_base_url()
S
79 1 3
cache_lookups()
S
80 1 3
_sort_apps()
S
79 1 3
get_parameter()
S
79 1 3
get_apps()
S
75 1 4
get_static_url()
S
77 1 3
get_request_method()
S
82 1 3
route()
S
80 1 3
set_querystring()
S
80 1 3
rewrite()
S
79 1 3
create_app()
S
73 1 5